$('#sensor-settings').html("<%= j render('settings') %>");
$('#sensor-details').html("<%= j render('details') %>");